﻿@{
	ViewBag.Title = "控制面板";
	Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}
@section header{
}

<div class="detail-panel-div" style="padding:10px 0;">
	@*tab页标签*@
	<table border=0 cellspacing=0 cellpadding=0 width=100% class="small">
		<tr style="height:30px;">
			<td class="dvtTabCache" style="width:10px" nowrap>&nbsp;</td>
			<td class="tab-chan-link tab-chan-link-on" align=center nowrap id="OrganizationConfig" onclick="configview_click('OrganizationConfig');">
				公司信息
				<input type="hidden" name="assignview" id="assignview" value="">
			</td>

			<td class="dvtTabCache" style="width:10px" nowrap>&nbsp;</td>
			<td class="tab-chan-link" align=center nowrap id="SettingConfigList" onclick="configview_click('SettingConfigList');">
				系统参数
				<input type="hidden" name="assignview" id="assignview" value="">
			</td>

			<td class="dvtTabCache" style="width:10px" nowrap>&nbsp;</td>
			<td class="tab-chan-link" align=center nowrap id="MessageConfig" onclick="configview_click('MessageConfig');">
				呼叫中心
				<input type="hidden" name="assignview" id="assignview" value="">
			</td>

			<td class="dvtTabCache" style="width:10px" nowrap>&nbsp;</td>
			<td class="tab-chan-link" align=center nowrap id="EmailConfig" onclick="configview_click('EmailConfig');">
				SMTP服务器
				<input type="hidden" name="assignview" id="assignview" value="">
			</td>

			<td class="dvtTabCache" style="width:10px" nowrap>&nbsp;</td>
			<td class="tab-chan-link" align=center nowrap id="AuditTrailList" onclick="configview_click('AuditTrailList');">
				系统日志
				<input type="hidden" name="assignview" id="assignview" value="">
			</td>

			<td class="dvtTabCache" style="width:10px" nowrap>&nbsp;</td>
			<td class="tab-chan-link" align=center nowrap id="OssConfig" onclick="configview_click('OssConfig');">
				云储存
				<input type="hidden" name="assignview" id="assignview" value="">
			</td>

			<td class="dvtTabCache" style="width:10px" nowrap>&nbsp;</td>
			<td class="tab-chan-link" align=center nowrap id="ProdCommissions" onclick="configview_click('ProdCommissions');">
				销售提成规则
				<input type="hidden" name="assignview" id="assignview" value="">
			</td>

			<td class="dvtTabCache" style="width:10px" nowrap>&nbsp;</td>
			<td class="tab-chan-link" align=center nowrap id="HiddenCost" onclick="configview_click('HiddenCost');">
				隐藏成本价
				<input type="hidden" name="assignview" id="assignview" value="">
			</td>
			<td class="dvtTabCache" style="width:100%" nowrap>&nbsp;</td>
		</tr>
	</table>
	<table class="list_table" border=0 cellspacing=0 cellpadding=0 width=100% align=center style="margin-top:2px;">
		<tr>
			<td class="lvt" valign="top" width=100% style="padding:2px;">
				<div id="ListViewContents" class="small" style="width:100%;position:relative;">
					<table border=0 cellspacing=0 cellpadding=10 width=100%>
						<tr>
							<td>

								<table border=0 cellspacing=0 cellpadding=5 width=100% class="tableHeading">
									<tr>
										<td class="big">&nbsp;&nbsp;<strong>设定公司信息 </strong></td>
										<td class="small" align=right>
											<button class="pure-button pure-button-edit" title="编辑 [Alt+E]" onclick="this.form.action.value='settingconfig';">
												<i class="icon-fixed-width icon-pencil"></i> 编辑
											</button>&nbsp;
										</td>
									</tr>
								</table>

								<table border=0 cellspacing=0 cellpadding=0 width=100% class="listRow">
									<tr>
										<td class="small" valign=top>
											<table width="100%" border="0" cellspacing="0" cellpadding="5">
												<tr>
													<td width="20%" class="small detail-content-label"><strong>公司名称</strong></td>
													<td width="80%" class="small cellText"><strong>上海瑞策软件有限公司</strong></td>
												</tr>
												<tr valign="top">
													<td class="small detail-content-label"><strong>Logo 名称</strong></td>
													<td class="small cellText" style="background-image: url(test/logo/crm-logo.jpg); background-position: left; background-repeat: no-repeat;" width="48" height="48" border="0"></td>
												</tr>
												<tr>
													<td class="small detail-content-label"><strong>地址</strong></td>
													<td class="small cellText"> 上海徐汇区零陵路585号爱邦大厦16F</td>
												</tr>
												<tr>
													<td class="small detail-content-label"><strong>城市</strong></td>
													<td class="small cellText">上海</td>
												</tr>
												<tr>
													<td class="small detail-content-label"><strong>省份</strong></td>
													<td class="small cellText">上海</td>
												</tr>
												<tr>
													<td class="small detail-content-label"><strong>邮编</strong></td>
													<td class="small cellText">200030</td>
												</tr>
												<tr>
													<td class="small detail-content-label"><strong>国家</strong></td>
													<td class="small cellText">中国</td>
												</tr>
												<tr>
													<td class="small detail-content-label"><strong>电话</strong></td>
													<td class="small cellText">+8621-64876448</td>
												</tr>
												<tr>
													<td class="small detail-content-label"><strong>传真</strong></td>
													<td class="small cellText">+8621-64876441</td>
												</tr>
												<tr>
													<td class="small detail-content-label"><strong>网站</strong></td>
													<td class="small cellText">http://www.c3crm.com</td>
												</tr>

												<tr>
													<td class="small detail-content-label"><strong>法定代表人</strong></td>
													<td class="small cellText"></td>
												</tr>

												<tr>
													<td class="small detail-content-label"><strong>开户银行</strong></td>
													<td class="small cellText"></td>
												</tr>

												<tr>
													<td class="small detail-content-label"><strong>银行帐号</strong></td>
													<td class="small cellText"></td>
												</tr>

												<tr>
													<td class="small detail-content-label"><strong>税号</strong></td>
													<td class="small cellText"></td>
												</tr>

												<tr>
													<td class="small detail-content-label"><strong>公司口号</strong></td>
													<td class="small cellText"></td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</div>
			</td>
		</tr>
	</table>
</div>
@section footer{
	<script type="text/javascript">
		var pageEnumData = {
		};
		var pageData = $.extend(pageBaseData, {
		});

		var pageApp = new Vue({
			el: '#app',
			data: pageData,
			created: function () {
			},
			mounted: function () {
			},
			methods: {
				pageBack: function () {
					//history.go(-1);
					history.back();
				},
				viewMenu: function (menu) {
					if (menu.Code == this.curmenu) {
						return;
					}
					location.href = menu.Url;
				}
			},
			computed: {
				currentM: function () {
					var currentM = null;
					var i;
					var j;
					for (i = 0; i < this.global.modules.length; i++) {
						for (j = 0; j < this.global.modules[i].Services.length; j++) {
							if (this.serviceCode == this.global.modules[i].Services[j].Code) {
								currentM = this.global.modules[i];
								break;
							}
						}
					}
					return currentM;
				},
				currentS: function () {
					var currentS = null;
					var i;
					var j;
					for (i = 0; i < this.global.modules.length; i++) {
						for (j = 0; j < this.global.modules[i].Services.length; j++) {
							if (this.serviceCode == this.global.modules[i].Services[j].Code) {
								currentS = this.global.modules[i].Services[j];
								break;
							}
						}
					}
					return currentS;
				}
			}
		});
	</script>
}
